package com.totem.admin.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

@Data
public class VerificationCodeVO {
    @NotEmpty
    @Schema(description = "注册类型", example = "MOBILE, EMAIL")
    private String loginType;
    @NotNull
    @Schema(description = "是否新用户", example = "true, false")
    private Boolean newCustomer;
    private String countryCode;
    private String mobile;
    private String email;

    private Long customerId;
    @Schema(description = "验证码过期时间,单位=毫秒")
    private Long codeExpireTime;
    @Schema(description = "可验证次数")
    private Long verifyUsableCount;
    // temp
    private String code;
}
